import Vue from 'vue'
import Router from 'vue-router'
import List from './views/List.vue'
import User from './views/User.vue'
import Auth from './views/Auth.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'list',
      component: List,
      meta: {
        title: '海报中心'
      }
    },
    {
      path: '/user',
      name: 'user',
      component: User,
      meta: {
        title: '个人中心'
      }
    },
    {
      path: '/auth',
      name: 'auth',
      component: Auth
    }
  ]
})
